﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Business.Abstract;
using DataAccess.AbstractRepository;
using DataAccess.NHibernateHelper;
using DataAccess.Repository;

namespace Business.Service
{
    public class StatusServiceImpl : IStatusService
    {
        IStatusRepository statusRepo;
        public StatusServiceImpl()
        {
            statusRepo = new StatusRepository(FluentNHibernateHelper.GetContext());
        }
        public List<Domain.Entity.Status> GetAllStatus()
        {
            return statusRepo.List().ToList();
        }
    }
}
